package com.wuhao.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wuhao.springboot.entity.FaultDetection;
import com.wuhao.springboot.entity.Order;
import com.wuhao.springboot.entity.User;
import com.wuhao.springboot.mapper.OrderMapper;
import com.wuhao.springboot.mapper.SelfCheckMapper;
import com.wuhao.springboot.service.OrderService;
import com.wuhao.springboot.service.SelfCheckService;
import com.wuhao.springboot.type.StatusEnum;
import com.wuhao.springboot.utils.TokenUtils;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

/**
 * @Description
 * @Date 2023/1/30 13:23
 * @Author pq
 */
@Service
public class SelfCheckServiceImpl extends ServiceImpl<SelfCheckMapper, FaultDetection> implements SelfCheckService {

    @Resource
    private SelfCheckMapper selfCheckMapper;

    @Resource
    private OrderMapper orderMapper;

    @Resource
    private OrderServiceImpl orderService;

    @Override
    public FaultDetection getByAirTypeAndAirCondCode(FaultDetection faultDetection) {
        return selfCheckMapper.getByAirTypeAndAirCondCode(faultDetection);
    }
}
